import java.util.Scanner;

public class IS {

    int a;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        IS obj = new IS();
        obj.a = sc.nextInt();
        System.out.println(obj.a+" "+obj.a);

        if (obj.a > 60) {
            System.out.println("合格");
        } else if (obj.a < 60) {
            System.out.println("不合格");
        } else if (obj.a == 60) {
            System.out.println("<UNK>");
        }

        switch (obj.a) {
            case 1:
                System.out.println("one");
            case 2:
                System.out.println("two");
                break;
            default:
                System.out.println("not");
        }

        for (int i = 1; i <= obj.a; i++) {
            System.out.print(i);
        }

        while (obj.a > 0) {
            System.out.print(obj.a);
            obj.a--;
        }
    }
}
